/* used in map view - custom controls overlaying google maps, detail - controls below map image */

#mapcontrols {
	z-index: 1000000000;	/* Obnoxiously high to make sure the map controls float above pins, callouts, overlays, etc. */
	opacity: 1.0;
}

#mapcontrols a {
    width: 40px;
    height: 36px;
    display: block;
    margin-bottom: 2px;
    margin-right: 3px;
    background-image: url(/modules/map/images/buttons.png);
}
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /* Pixel-doubled versions to take advantage of Retina Displays and XHDPI displays */
  #mapcontrols a {
    background-image: url(/modules/map/images/buttons@2x.png);
    background-size: 240px 36px;
  }
  
}

#mapcontrols a img {
    width: 40px;
    height: 36px;
}

#zoomin {
    background-position: 0 0;
}

#zoomout {
    background-position: -40px 0;
}

#recenter {
    background-position: -120px 0;
}

#locateMe {
    background-position: -160px 0;
}

.infoBox, .mapimage .simpleInfoWindow {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 0;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.7);
	box-shadow: 0 1px 5px rgba(0,0,0,0.7);
	height: auto!important;
}

.mapimage .simpleInfoWindow {
  width: 200px!important;
  margin-left: -110px; /* Not sure why, but ArcGIS map JS places the bubble 10px too far to the right, so we need to move it by (1/2 its width) + 10px to the left */
  background-color: #ffffff;
  background-color: rgba(255,255,255,0.93);
}

.infoBox img {
	display: none;
}

.calloutMain {
	display: table;
	height: 100%;
	width: 100%;
}

.calloutMain a {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	text-decoration: none;
	font-size: 15px;
	line-height: 18px;	
	text-align: left;
	padding: 8px 37px 8px 8px;
	background: url(/modules/map/images/map-callout.png) no-repeat right;
	background-size: 35px 31px;
	overflow: hidden;
}

.calloutMain a, .calloutMain a:visited {
	color: #111;
}

.calloutDisclosure {
    margin: 6px 0;
}

.calloutTail {
	position: absolute;
	bottom: -10px;
	width: 12px;
	height: 10px;
	left: 50%;
	margin-left: -6px;
	background: url(/modules/map/images/callout-tail.png) no-repeat center;
	background-size: 12px 10px;
}	

#mapimage_infowindow {
    height: auto !important;
    width: 180px !important;
	border: none;
	padding: 0;
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.6);
	box-shadow: 0 1px 4px rgba(0,0,0,0.6);
	margin-left: -100px;
	line-height: 1.2em;
}

.mapimage .content {
    height: auto !important;
	overflow: hidden;
}

.mapimage .simpleInfoWindow .calloutMain a {
	font-size: 14px; 
	line-height: 16px;
	padding-top: 6px;
}

.mapimage .simpleInfoWindow .title {
    border: none;
    padding: 0;
}

.mapimage .simpleInfoWindow .close {
    display: none;
}
